package com.open.capacity.service;

import com.github.pagehelper.PageInfo;
import com.open.capacity.model.ActivityModel;
import com.open.capacity.model.PageModel;

import java.util.Date;
import java.util.List;

public interface ActivityService2 {

    void update(ActivityModel activityModel);

    void del(Long actiid);

    void add(ActivityModel activityModel);

    PageInfo<ActivityModel> findByPage(PageModel pageModel, ActivityModel activityModel);

    List<ActivityModel> findAll();

    void upstate(int i, Date date);

    ActivityModel findById(Long actiid);
}
